package cn.itcast.tanhua.mytanhuaserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;

@MapperScan("cn.itcast.tanhua.mytanhuaserver.mapper")
@SpringBootApplication(exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class}) //排除mongo的自动配置
public class MyTanhuaServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyTanhuaServerApplication.class, args);
    }

}
